<!DOCTYPE html>
<html xmlns:th="http://www.w3.org/1999/xhtml" xmlns:shiro="http://www.w3.org/1999/xhtml"
      xmlns="http://www.w3.org/1999/html">
<meta charset="utf-8">
<head th:include="include :: header"></head>
<body>
<style>
    .layui-table-cell {
        display: block;
    }

    .layui-table-tips-c:before {
        position: relative;
        right: 0px;
        top: -4px;
    }

    .myRadios {
        display: flex;
        justify-content: flex-start;
        align-items: center;
        height: 50px;
        width: 100%;
    }

    .layui-icon-radio, .layui-icon-circle {
        display: none !important;
    }
    .layui-table-view{
        height: calc(100% - 150px);
    }
    .myHTml{
        width: 100%;
        height: 80%;
        display: -webkit-box;
        -webkit-line-clamp: 1;
        -webkit-box-orient: vertical;
        overflow: hidden;
        text-overflow: ellipsis;
    }
    .myHTml>p{
        white-space: nowrap;
        overflow: hidden;
        text-overflow: ellipsis;
    }
</style>

<div class="layui-fluid mt2">
    <div id="exampleToolbar" style="height: 60px;  align-items: center;display: flex;width: 100%;">
        <div class="demoTable"
             style="width: 100%; height: 100%; display: flex;  flex-direction: column;  justify-content: space-around; align-items: flex-start; padding-left: 10px;">
            <div style="width: 100%;">
                <button class="layui-btn"  shiro:hasPermission="jzweb:questionList:add" onclick="add()">新增</button>
                <div class="layui-inline" style="margin:0 10px">
                     标题：
                    <div class="layui-inline">
                        <input placeholder="请输入标题" class="layui-input" name="name" id="name" autocomplete="off">
                    </div>
                </div>
                <div class="layui-form layui-inline" style="margin-right: 10px" >
                    分类：
                    <div class="layui-inline" >
                        <select name="orderType" value="1" lay-search="" id="orderType" lay-filter="selectUp">
                            <option value="">全部</option>
                            <option value="1">用户常见问题</option>
                            <option value="2">阿姨常见问题</option>
                        </select>
                    </div>
                </div>
                <button class="layui-btn" data-type="reload">搜索</button>
            </div>
        </div>
    </div>
    <table class="layui-hide" id="exampleTable" lay-filter="exampleTable"></table>

</div>

<div>
    <script type="text/javascript">
        var look_remove = 'hidden';
        var look_edit = 'hidden';
        var upAndDownPrices=true;
    </script>
    <script shiro:hasPermission="jzweb:questionList:remove" type="text/javascript">
        look_remove = '';
    </script>
    <script shiro:hasPermission="jzweb:questionList:edit" type="text/javascript">
        look_edit = '';
    </script>
</div>


<div th:include="include :: footer"></div>
<script type="text/javascript" src="/js/webJs/jzweb/question/index.js"></script>
</body>
</html>